package org.sgy.mall.utils;

import org.apache.commons.codec.digest.DigestUtils;

public class Md5Test {

	public static void main(String[] args) {
		String password = "123456";
		String encryPassword = new String(DigestUtils.md5Hex(password));
		System.out.println(encryPassword);

		// password md5
		String password2 = PasswordUtil.encryPassword("123");
		System.out.println(password2);
	}
}
